@media screen and (max-width: 320px) {
    html {
        font-size: 32px;
    }
}

@media screen and (max-width: 360px) {
    html {
        font-size: 36px;
    }
}

@media screen and (max-width: 375px) {
    html {
        font-size: 37.5px;
    }
}

@media screen and (max-width: 384px) {
    html {
        font-size: 38.4px;
    }
}

@media screen and (max-width: 400px) {
    html {
        font-size: 40px;
    }
}

@media screen and (max-width: 414px) {
    html {
        font-size: 41.4px;
    }
}

@media screen and (max-width: 424px) {
    html {
        font-size: 42.4px;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 48px;
    }
}

@media screen and (max-width: 540px) {
    html {
        font-size: 54px;
    }
}

@media screen and (max-width: 720px) {
    html {
        font-size: 72px;
    }
}

@media screen and (max-width: 750px) {
    html {
        font-size: 75px;
    }
}

@media screen and (max-width: 800px) {
    html {
        font-size: 80px;
    }
}

@media screen and (max-width: 900px) {
    html {
        font-size: 90px;
    }
}

@media screen and (max-width: 1000px) {
    html {
        font-size: 100px;
    }
}

@media screen and (min-width: 1000px) {
    html {
        font-size: 100px;
    }
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    position: relative;
    width: 90%;
    margin: 0 auto;
    background-color: #aaa;
}

// header栏
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 95%;
    height: .4rem;
    margin-left: 2.5%;
    background-color: #ddd;
    border-radius: .2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: .07rem;
    z-index: 1;

    .photo {
        position: relative;
        width: 1.3rem;
        height: .3rem;


        a {
            display: block;
            height: 100%;
            color: #fff;
            margin: 0;

            img {
                position: absolute;
                left: .3rem;
                height: 100%;
            }

            span {
                &:nth-of-type(1) {
                    position: absolute;
                    top: -0.07rem;
                    left: .61rem;
                    font-size: .29rem;
                }

                &:nth-of-type(2) {
                    position: absolute;
                    top: -0.011rem;
                    left: 0.9rem;
                    font-size: 0.1rem;
                }

                &:nth-of-type(3) {
                    position: absolute;
                    top: 0.12rem;
                    left: .9rem;
                    font-size: 0.1rem;
                }
            }
        }
    }

    .count {
        font-weight: 400;
        height: .3rem;
        font-size: 0.12rem;
        line-height: .33rem;
        padding-right: .3rem;
    }
}

// 照片和头像栏
.section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 2rem;
    background-image: url(../images/拇指云.jpg);
    background-size: cover;
    border-radius: .2rem;

    .urge {
        font-size: .2rem;
        vertical-align: 2rem;
        font-weight: 400;
        color: #eee;
    }

    .photo_info {
        width: 1.5rem;
        height: .8rem;
        position: absolute;
        bottom: -0.41rem;
        left: .1rem;


        img {
            position: absolute;
            top: 0;
            left: 0;
            width: .8rem;
            border: 3px solid #fff;
        }

        p {
            margin: 0;
            padding: 0;
            position: absolute;
            top: 0;
            left: .85rem;
            font-size: .2rem;
            color: #ccc;
        }

        span {
            position: absolute;
            top: 2.7em;
            left: .81rem;
            font-size: .15rem;
        }
    }
}

//博客预览栏
.boke {
    margin-top: .5rem;
    width: 100%;
    border-radius: .3rem;
    background-color: #fff;
    padding: .2rem;
    font-size: .3rem;

    &::after {
        display: block;
        content: "到底了~";
        font-size: .1rem;
        text-align: center;
    }

    .blog {
        border-top: 3px solid #ccc;
        border-bottom: 3px solid #ccc;
        border-left: 1px solid #ccc;
        border-right: 1px solid #ccc;
        margin-bottom: .2rem;
        border-radius: 10px;
        background-color: #efefef;

        .title {

            color: #000;
            font-size: .2rem;
            text-align: center;
            border-bottom: 1px solid #ccc;
        }

        p {
            color: #000;
            font-weight: 300;
            font-size: .19rem;
        }

        .date {
            font-size: .13rem;
            text-align: right;
            color: gray;
            margin-top: .05rem;
        }
    }
}